package com.nightpiter.controller.reflection;

/**
 * @author Eldar Abusalimov (eldar.abusalimov@gmail.com)
 */
@SuppressWarnings("serial")
public class PackException extends Exception {

	/**
	 * standard error message
	 */
	private static final String MESSAGE = "Error creatitng Pack. Seems like your archive file is corrupted";

	/**
	 * constructor without arguments
	 */
	public PackException() {
		super(MESSAGE);
	}

	/**
	 * @param detailMessage
	 */
	public PackException(String detailMessage) {
		super(MESSAGE + " : " + detailMessage);
	}

	/**
	 * @param throwable
	 */
	public PackException(Throwable throwable) {
		super(throwable);
	}

	/**
	 * @param detailMessage
	 * @param throwable
	 */
	public PackException(String detailMessage, Throwable throwable) {
		super(MESSAGE + " : " + detailMessage, throwable);
	}

}
